package com.sccba.emtbusiness.service;

import java.util.List;
import com.sccba.emtbusiness.domain.YjczEmergencyScene;

/**
 * 应急处置场景Service接口
 * 
 * @author lichh
 * @date 2024-04-18
 */
public interface IYjczEmergencySceneService 
{
    /**
     * 查询应急处置场景
     * 
     * @param pkId 应急处置场景主键
     * @return 应急处置场景
     */
    public YjczEmergencyScene selectYjczEmergencySceneByPkId(Long pkId);

    /**
     * 查询应急处置场景列表
     * 
     * @param yjczEmergencyScene 应急处置场景
     * @return 应急处置场景集合
     */
    public List<YjczEmergencyScene> selectYjczEmergencySceneList(YjczEmergencyScene yjczEmergencyScene);

    /**
     * 新增应急处置场景
     * 
     * @param yjczEmergencyScene 应急处置场景
     * @return 结果
     */
    public int insertYjczEmergencyScene(YjczEmergencyScene yjczEmergencyScene);

    /**
     * 修改应急处置场景
     * 
     * @param yjczEmergencyScene 应急处置场景
     * @return 结果
     */
    public int updateYjczEmergencyScene(YjczEmergencyScene yjczEmergencyScene);

    /**
     * 批量删除应急处置场景
     * 
     * @param pkIds 需要删除的应急处置场景主键集合
     * @return 结果
     */
    public int deleteYjczEmergencySceneByPkIds(Long[] pkIds);

    /**
     * 删除应急处置场景信息
     * 
     * @param pkId 应急处置场景主键
     * @return 结果
     */
    public int deleteYjczEmergencySceneByPkId(Long pkId);

    List<YjczEmergencyScene> selectSceneNotSelected (String fbId, String channelId);

    List<YjczEmergencyScene> selectSceneByFbAndChannel (String fbId, String channelId);

    List<YjczEmergencyScene> selectAllScene ();

    void addOrUpdateSceneAndProcess (YjczEmergencyScene yjczEmergencyScene);

    boolean checkSceneNameIsExists (YjczEmergencyScene scene);

}
